package com.jic.manager.service;

import java.lang.Long;
import java.util.List;

import com.jic.common.base.vo.RestResult;
import com.jic.manager.entity.MestoreAddress;
import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;

/**
* 店铺地址
* @author : 
* @email : 
* @since : 2020-02-26 09:39:59
* @version : v1.0.0
*/
public interface MestoreAddressService {

    long insert(MestoreAddress mestoreAddress);

    long delete(Long id);

    long update(MestoreAddress mestoreAddress);

    MestoreAddress queryByPrimaryKey(Long id);

    List<MestoreAddress> query(MestoreAddress mestoreAddress);

    PageResult<MestoreAddress> queryPage(MestoreAddress mestoreAddress, Page pageQuery);

    RestResult<String> saveAddressInfo(MestoreAddress mestoreAddress);

    RestResult<String> deleteAddressInfo(long id);
}